home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #2 / Monster Media No. 2 (Monster Media)(1994).ISO / graphics / pep15.zip / TUTORIAL.DOC < prev    next >
Text File  |  1994-06-23  |  12KB  |  268 lines

  1. About this tutorial.
  2.  
  3. The best way to learn about PEP and its capabilities is simply to use it.
  4. This tutorial is provided as a help in getting started.  It takes you
  5. through three simple exercises in using PEP:
  6.  
  7.     1.  Printing the PEP registration form.
  8.     2.  Creating a new configuration file.
  9.     3.  Drawing a simple picture.
  10.  
  11. These exercises can be done in any order.  In each case, the entire project
  12. is described keystroke by keystroke.  The keys you use are listed in the left
  13. hand column.  On the right, is an explanation of what is being accomplished
  14. at each step.  Here is the notation we will be using:
  15.  
  16. The symbol:    Means:
  17.  
  18. F(ile)         Press the letter F (to execute the FILE command).  In PEP,
  19.                you execute a command in a command menu by typing its first
  20.                letter.  (You can also click on the command with the mouse.)
  21. [Enter]        Press the ENTER key
  22. [F9]           Press the function key F9
  23. [Alt-Z]        While holding down the Alt key, press the letter Z.
  24.  
  25. These exercises cover only a small fraction of PEP's capabilities.
  26. They just provide a representative sample of how PEP operates so that you
  27. can continue to learn about PEP by experimenting and consulting the manual.
  28. Proceed slowly through each exercise to be sure you understand the
  29. explanation at each step.
  30.  
  31. Before using this tutorial, you must install PEP on your computer according
  32. to the hardware configuration that you have:  the type of display, type of
  33. printer, etc.  The utility INSTALL.EXE will guide you through this.  If you
  34. need more information about installation, see the file CHAPT17.TXT.
  35.  
  36. Also, be sure to read the file README.DOC.
  37.  
  38. Probably, your best course is the play with PEP a little before starting
  39. the exercises below; for example:  use the INSERT menu to draw lines and
  40. add text, then QUIT back to the top menu to use MODIFY and DELETE; use
  41. FILE/LOAD to look at some of the picture files supplied with PEP, and so
  42. forth.  Having a little familiarity with PEP will help you absorb the
  43. information given in the exercises.
  44.  
  45. In order to give predictable results, each exercise assumes that you start
  46. in your PEP directory and begin by loading PEP from the DOS prompt.  Also,
  47. the mouse is ignored; each step is preformed from the keyboard.  In fact,
  48. however, PEP supports both methods of input equally.
  49.  
  50.  
  51. Exercise 1:  Printing the PEP Registration Form.
  52.  
  53. Go to your PEP directory, and begin by typing "PEP" at the DOS prompt.  When
  54. PEP is loaded, the first menu that you see is called the top menu.
  55.  
  56. F(ile)         Go to the FILE menu (used to access pictures on disk).
  57. L(oad)         Display an alphabetized menu of picture files.
  58. REGISTER       The file we want is REGISTER.PDL.  As you type, the menu high-
  59. [Enter]          light moves to the first menu item matching what has been
  60.                  typed so far.  When the required file is reached, you can
  61.                  press the ENTER key to load it. Actually, in this case, only
  62.                  the first letter and ENTER are required.  A PDL file holds
  63.                  1 or more pictures or OBJECTS.  This file has a MAIN object
  64.                  which is automatically opened (i.e. displayed for editing).
  65.                  You are now displaying (part of) the registration form.
  66.  
  67.                At this point, you might want to experiment with the keys
  68.                  [Alt-C], [Alt-E], [Alt-T], [Alt-W] and the combinations of
  69.                  Shift + the arrow keys, to see how these can be used to
  70.                  display more or less of a picture and navigate around it.
  71.                  (There are also buttons in the button window for accessing
  72.                  each of these functions if you have a mouse.)  Using these
  73.                  keys will not affect the steps that follow.
  74.  
  75. Q(uit)         Return from the FILE menu to the top menu.
  76. P(rint)        Go to the PRINT menu.
  77. C(enter)       Enable horizontal centering.  We will print the form at the
  78.                  top of the page but centered left and right.  Note that the
  79.                  menu item contains current status information; it has changed
  80.                  from "Center NO" to "Center X".
  81.                Now make sure your printer is turned on, warmed up, on-line
  82.                  and ready to print.
  83. G(o)           Start printing.  Here again, the menu item shows status
  84.                  information; in this case the number of print jobs
  85.                  scheduled.  Printing takes place in the background.
  86. Q(uit)         Return from the PRINT menu to the top menu.
  87.                Wait here until printing is completed.  (You cannot exit
  88.                  from PEP while print jobs are active.)
  89. Q(uit)         Go to the QUIT menu.
  90. E(xit)         Exit from PEP back to DOS.
  91.  
  92. Notes:
  93.  
  94. You may now want to use the method given above to print out the files
  95. PEPMENU.PDL (which contains charts of the principal PEP menus - these charts
  96. were created by Trionum's org chart maker, ORCHIS) and PEPKEY.PDL (which
  97. provides a keyboard template for the function keys, control keys, and
  98. alt-letter keys available in PEP).  For printing PEPKEY, we recommend using:
  99.  
  100. P(rint)
  101. R(otation)
  102. 2(70 degrees)  to print in landscape orientation.
  103.  
  104. Also, if these pictures do not naturally fit on one printer page (which will
  105. depend on the resolution of your printer), you will see the menu:
  106.  
  107. Shrink         (Shrink to fit on one page)
  108. Multi-page     (Print on as many pages as required)
  109. Truncate       (Truncate after the first page)
  110. Cancel         (Cancel the print request)
  111.  
  112. If this happens, choose either S(hrink) or M(ulti-page) as you prefer.
  113.  
  114. Exercise #2:  creating a configuration file.
  115.  
  116. You can create custom configurations for PEP if you want to use a different
  117. screen layout, different graphic default values, a different pattern file,
  118. and so forth.  Configurations are kept in files with the extension FIG.
  119. These ASCII files simply contain the captured keystrokes that you would type
  120. into PEP to produce the desired effects.
  121.  
  122. In this simple exercise, we will create a new configuration that displays
  123. rulers and grid lines (at 1/4 printer inch spacing) in the main edit window.
  124.  
  125. In your PEP directory, type "PEP" at the DOS prompt, then:
  126.  
  127. Q(uit)         Go into the Quit menu.
  128. M(akefig)      Start making a new configuration file,
  129. TEST             (which we will call TEST.FIG).
  130. [Enter]
  131. AUTO           Starting out using the normal default configuration
  132. [Enter]          (which is called AUTO.FIG).
  133.                Now PEP is started up again using that configuration file
  134.                  and everything that happens until the [Alt-Z] below
  135.                  will be captured into the TEST.FIG file we are building.
  136. S(etup)        Go to the Setup menu.
  137. W(indow)       Go to the Setup/Window sub-menu.
  138. R(ulers)       Enable ruler display.
  139. G(rid)         Enable grid display.
  140. Q(uit)         Go to the
  141. N(umbers)        Setup/Numbers menu.
  142. G(rid-space)   Change the grid spacing to
  143. X1/4i            1/4 inch horizontally
  144. [Enter]
  145. Y1/4i            and 1/4 inch vertically
  146. [Enter]
  147. [F10]          Go back to the top menu.
  148. [Alt-Z]        End creation of the configuration file, and save it to disk.
  149. Q(uit)
  150. E(xit)         Exit from PEP.
  151.  
  152. Now if you load PEP by typing the following at the DOS prompt:
  153.  
  154.   PEP /F=TEST
  155.  
  156. PEP will be loaded using this new configuration file.  If you wanted,
  157. you could use DOS to give AUTO.FIG a new name, and to rename TEST.FIG
  158. as AUTO.FIG.  Then this new configuration would be used automatically
  159. whenever PEP was invoked.
  160.  
  161. Notes:
  162.  
  163. There is a section in CHAPT16.TXT (Hints, Tricks and Warnings) on using
  164. the configuration file capability to create slide shows with PEP (like
  165. the VGASLIDE.FIG file that comes with PEP).
  166.  
  167. You can use the [Alt-G] and [Alt-R] keys (or the G-button and R-button
  168. in the button window) as faster substitutes for the Setup/Window/Grid
  169. and Setup/Window/Rulers commands used above.  Many PEP functions have
  170. such single keystroke alternatives.  These are described in CHAPT14.TXT
  171. and shown in the keyboard template PEPKEY.PDL.
  172.  
  173. Exercise #3:  Drawing a simple picture.
  174.  
  175. In this exercise we will draw a "keep away from magnetic fields" icon
  176. (as you might print on an envelope for mailing floppy disks).  This is
  177. an easy task, as we need only combine two pictures supplied in the
  178. symbol files that are part of PEP.
  179.  
  180. In your PEP directory, type "PEP" at the DOS prompt, then:
  181.  
  182. O(bject)       First, we grab two objects from existing files by
  183. I(mport)         using the Object/Import menu.
  184. F(ile)         From the file SYMBOL1.PDL,
  185. SYMBOL1
  186. [Enter]
  187. O(bject)       import the object MAGNET (a picture of a magnet).
  188. MAGNET
  189. [Enter]
  190. F(ile)         From the file SYMBOL2.PDL,
  191. SYMBOL2
  192. [Enter]
  193. O(bject)       import the object NO (the international don't-do-it
  194. NO               symbol).
  195. [Enter]
  196. [F10]          Return to the top menu.
  197. I(nsert)       Go to the Insert menu.
  198. O(bject)       Display a menu of the available objects.
  199. MAGNET         Select the magnet object.
  200. [Enter]          (A cross-hair cursor is displayed here.)
  201. [F9]           Move the cursor to the upper left of the editing area.
  202. [Enter]        Insert the magnet object.
  203. O(bject)       Display the list of objects again.
  204. NO             This time select the NO object,
  205. [Enter]
  206. [Enter]          and insert that at the same location.
  207.                Now we want the NO object to be perhaps 50% bigger so that
  208.                  the magnet can be fully visible in the center so:
  209. M(odify)       Modify the element just inserted.
  210. S(tretch)      Change its stretches:
  211. X3/2             change the horizontal stretch from 1 to 3/2 (or 1.5)
  212. [Enter]
  213. Y3/2             do the same to the vertical stretch
  214. [Enter]
  215. C(olor)        Also change its color
  216. 1(-red)          to red.
  217. [F10]          Return to the top menu
  218.                Now we need to center the magnet inside the NO object.
  219.                  This could be done using Modify/Move and the mouse,
  220.                  but the easiest way is:
  221. C(ollect)      Go to the Collect menu.
  222. A(ll)          Collect everything in the picture (in this case there are only
  223.                  two elements).
  224. G(roup)        Combine these two into a single group element and display
  225.                  a menu for modifying groups.
  226. A(lign)        Go to the Modify-group/Align menu.
  227. C(enter)       Center the group components horizontally,
  228. M(iddle)         and vertically.
  229. Q(uit)         Back to the Modify-group menu.
  230. E(xplode)      Break the group apart into its two elements (and return to
  231.                  the top menu).
  232.  
  233.  
  234.                Our picture is now complete, so:
  235. O(bject)       Go to the Object menu.
  236. C(lose)        Close the object (i.e. stop editing and remove the display)
  237. NO-MAGS          and give it the name, NO-MAGS.
  238. [Enter]
  239. Q(uit)
  240. F(ile)         Go to the FILE menu so that we can save this picture
  241. S(ave)           to a file on disk
  242. TEST             which we will call TEST.PDL
  243. [Enter]
  244. Q(uit)         Return to the top menu.
  245.  
  246. O(bject)       To print the object:  use Object/Open to display it again.
  247. O(pen)
  248. NO-MAGS
  249. [Enter]
  250. Q(uit)
  251. P(rint)        Go to the print menu.  Make sure your printer is ready.
  252. G(o)           Start printing.
  253. Q(uit)
  254.                Wait for printing to complete.
  255. Q(uit)
  256. E(xit)         Exit from PEP.
  257.  
  258. Notes:
  259.  
  260. You will notice that there are two objects, BOX and CIRCLE, always available
  261. in addition to the ones you draw yourself or import from other files.  This
  262. is discussed in the section "Default Object Definitions" in CHAPT16.TXT.
  263.  
  264. Instead of using Object/Import to bring in objects from other files, you
  265. could just as well start with the Insert/Object command, and then select
  266. the "\Import\" option from the menu of available objects.
  267.  
  268.